package com.vanguard.p2p.business.mapper;

import com.vanguard.p2p.business.domain.BaseInformation;
import com.vanguard.p2p.business.example.BaseInformationExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface BaseInformationMapper {
    int countByExample(BaseInformationExample example);

    int deleteByExample(BaseInformationExample example);

    int deleteByPrimaryKey(Long baseInfoId);

    int insert(BaseInformation record);

    int insertSelective(BaseInformation record);

    List<BaseInformation> selectByExample(BaseInformationExample example);

    BaseInformation selectByPrimaryKey(Long baseInfoId);

    int updateByExampleSelective(@Param("record") BaseInformation record, @Param("example") BaseInformationExample example);

    int updateByExample(@Param("record") BaseInformation record, @Param("example") BaseInformationExample example);

    int updateByPrimaryKeySelective(BaseInformation record);

    int updateByPrimaryKey(BaseInformation record);
}